package com.zelma.agent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zelma.agent.entity.UsergroupbuyEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author khb
 * @email 1592657517@qq.com
 * @date 2022-01-07 10:23:19
 */
@Mapper
public interface UsergroupbuyDao extends BaseMapper<UsergroupbuyEntity> {

    UsergroupbuyEntity getByUidGid(@Param("uid") String uid, @Param("gbid") String gbid);

    int getVisitCountByGbid(@Param("gbid") String gbid);
}
